package tech.aistar.service.impl.dynamic;

import org.springframework.beans.factory.annotation.Autowired;
import tech.aistar.entity.dynamic.News;
import tech.aistar.mapper.NewsMapper;
import tech.aistar.service.INewsService;

import java.util.List;

/**
 * Created by David on 2019/9/28.
 */
public class NewsServiceImpl implements INewsService {

    @Autowired
    private NewsMapper newsMapper;


    @Override
    public List<News> findAllById(Integer newsId) {
        return newsMapper.findAllById(newsId);
    }
}
